package com.blkan.calculator.fragments;

import androidx.lifecycle.ViewModel;

public class CalculatorViewModel extends ViewModel {
    private StringBuilder input;
    private String result;
    private boolean deg;

    public CalculatorViewModel() {
        input = new StringBuilder("");
        result = "0";
        deg = false;
    }

    public StringBuilder getInput() {
        return input;
    }

    public void setInput(StringBuilder input) {
        this.input = input;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public boolean isDeg() {
        return deg;
    }

    public void setDeg(boolean deg) {
        this.deg = deg;
    }
}
